import { validateThreeLayerArchitecture, summarizeCoverage } from "../../tools/validator";

async function main() {
  const report = await validateThreeLayerArchitecture("BillingTrendsWebProd", {
    fieldsFile: "src/components/editor/schema/fields/aiComponents.ts",
    editFile: "src/components/editor/schema/edit/aiComponents.ts",
    previewFile: "src/components/editor/schema/preview/aiCustomComponents.ts",
  });

  console.log(await summarizeCoverage(report, "BillingTrendsWebProd"));
}

main().catch((error) => {
  console.error(error);
  process.exit(1);
});
